package com.yociyy.admin.model.entity;

import com.yociyy.common.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 字典类型 entity
 *
 * @author Y.yang
 * @date 2020/5/21
 */
@Data
@Accessors(chain = true)
@Table(name = "base_dict_type")
public class BaseDictType extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 字典主键 */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
	private Long id;

	/** 字典名称 */
    @Column(name = "dict_name")
    private String dictName;

	/** 字典类型 */
    @Column(name = "dict_type")
    private String dictType;

	/** 状态（0正常 1停用） */
    @Column(name = "enabled")
    private String enabled;

    /** 备注 */
    @Column(name = "remark")
    private String remark;

}
